package com.indeep.user.demo;

import java.util.List;

public class Student implements StudentInterface {
    private int balance;
    private List<Student> studentList;
    
    public Student(int balance) {
        this.balance = balance;
    }
    
    @Override
    public void addMoney(int amount) {
        this.balance += amount;
        System.out.println("Added " + amount + " to balance. New balance: " + this.balance);
        
        
    }
}
